package cn.yza.设计模式.适配器模式.Test220v;

/**
 * @author Honglixi
 * @create 2021-10-28 16:22
 */
public class Client {
    public static void main(String[] args) {
        System.out.println("类适配器模式");
        Phone phone = new Phone();
        phone.charging(new VoltageAdapter());
    }
}
